package com.ruoyi.system.domain.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.DtoBaseEntity;
import com.ruoyi.common.core.domain.DtoBaseEntity;

/**
 * 岗位信息对象 sys_post
 *
 * @author ruoyi
 * @date 2025-09-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_post")
public class SysPostDao extends DtoBaseEntity {
        private static final long serialVersionUID = 1L;

        /** 岗位ID */
        @TableId(value = "post_id",type = IdType.ASSIGN_ID)
        private String postId;

        /** 岗位编码 */
        @Excel(name = "岗位编码")
        private String postCode;

        /** 岗位名称 */
        @Excel(name = "岗位名称")
        private String postName;

        /** 显示顺序 */
        @Excel(name = "显示顺序")
        private Integer postSort;

        /** 状态（0正常 1停用） */
        @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
        private String status;

        private String oldData;
}